﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="WordPressTest.aspx.cs" Inherits="JohnnySins.WordPressTest" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="page_title">
        <h1>Blog</h1>                		
    </div>
    <div class="admin_table_container">
        <div class="row">
            <div class="col-lg-12">
                <div class="form-group">
                    <label class="col-lg-3 control-label">Blog address</label>
                    <div class="col-lg-9">
                        <asp:TextBox ID="tbBlogAddress" runat="server" CssClass="form-control" placeholder="http://localhost:8080/wordpress/xmlrpc.php"></asp:TextBox>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-3 control-label">Blog admin user</label>
                    <div class="col-lg-3">
                        <asp:TextBox ID="tbBlogUser" runat="server" CssClass="form-control" placeholder="Your blog admin user id"></asp:TextBox>
                    </div>
                    <label class="col-lg-3 control-label">Blog admin password</label>
                    <div class="col-lg-3">
                        <asp:TextBox ID="tbBlogPassword" runat="server" CssClass="form-control" placeholder="Your blog admin password"></asp:TextBox>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-3 control-label">Title</label>
                    <div class="col-lg-9">
                        <asp:TextBox ID="tbTitle" runat="server" CssClass="form-control" placeholder="Title"></asp:TextBox>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-3 control-label">Description</label>
                    <div class="col-lg-9">
                        <asp:TextBox ID="tbDescription" runat="server" CssClass="form-control" placeholder="Description"></asp:TextBox>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-3 control-label">Messages</label>
                    <div class="col-lg-9">
                        <asp:Label runat="server" ID="lblMessage"></asp:Label>
                    </div>
                </div>

                <div class="button_group">
                    <asp:Button CssClass="btn btn-success" ID="btnSave" ValidationGroup="newItem" Text="Save" runat="server" OnClick="btnSave_Click" />
                </div>
            </div>
        </div>
    </div>
</asp:Content>
